#ifndef FILEMANAGE_H
#define FILEMANAGE_H

#include <QObject>
#include <QFile>
#include <QDir>
#include "systemfile.h"

class FileManage : public QObject
{
    Q_OBJECT
public:
    explicit FileManage(QObject *parent = 0);
    
signals:
    
public slots:
   bool copyFileToPath(QString sourceDir ,QString toDir, bool coverFileIfExist);
   bool copyFile(int flag,int in_out_flag,QString picname);
   bool dir_search(QString mydir);
   QByteArray openMyFile(int flag,QString picname);
   QByteArray openMyDateFile(QString flag,QString picname);
   bool MoveMyFile(QString flag,QString picname);
   bool MoveDateMyFile(QString flag,QString picname);
   bool copyFileToDate(QString path, int In_Out_flag,QString picname);
   void removefilesindir(const QString& path);
   bool removeFolderContent(const QString &folderDir);
};

#endif // FILEMANAGE_H
